package com.warren.system.controller;

import com.warren.response.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author warren
 * @date 2021/4/2 0002 11:14
 * @Description
 **/
@Api
@RestController
@RequestMapping(value = "/attachments")
public class HelloController {

    @ApiOperation(value = "测试hello权限")
    @PostMapping("")
    public Result hello(){
        return Result.ok().data("str","hello");
    }
}
